home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / progjrn / pj_7_2.arc / CDLL.C < prev    next >
Text File  |  1989-02-26  |  548b  |  42 lines

  1. /* CDLL.c
  2.  * a skeleton dynlink library written in C
  3.  *
  4.  * By Ray Duncan
  5.  *
  6.  */
  7.  
  8.  
  9. int _acrtused = 0;          /* don't link C startup */î
  10.      .
  11.      .
  12.      .
  13.  
  14. /*
  15.     MYFUNC is exported for dynamic linking
  16.     by application programs.
  17. */
  18.  
  19. int far pascal MYFUNC(int a, int b)
  20. {
  21.      .
  22.      .
  23.      .
  24. }
  25.  
  26.      .
  27.      .
  28.      .
  29. /*
  30.     C_INIT is called from the entry point in CINIT.ASM
  31.     when a client process dynlinks to the library.
  32. */
  33.  
  34. int far pascal C_INIT(void)
  35. {
  36.      .
  37.      .
  38.      .
  39.     return(1);              /* return success code */
  40. }
  41.  
  42.